package com.ethink.order.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购退单 INFO实体
 *
 * @author default
 * @date 2022-12-06
 */
@Data
public class PurchaseReturnOrderInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="采购退单号")
    private String orderNo;

    @Schema(description ="采购单号")
    private String purchaseOrderNo;

    @Schema(description ="枚举 退单类型:1-少货退款(s1)|2-退款退货(s2)")
    private Integer returnType;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-待退货(s3)|4-完成(s4)")
    private Integer returnStatus;

    @Schema(description ="退款金额")
    private BigDecimal returnAmt;

    @Schema(description ="制单人编码")
    private String createUserCode;

    @Schema(description ="制单人名称")
    private String createUserName;

    @Schema(description ="退款原因")
    private String reason;

    @Schema(description ="审批流程ID")
    private String flowId;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;

    @Schema(description = "供应商名称")
    private String supplierName;

    @Schema(description = "供应商编码")
    private String supplierCode;

}
